package com.slipper.sfts.api.member.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.member.bo.MemberBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 会员信息表
 * 
 * @date 2024-01-14 22:22:15
 */
@ServiceClient
public interface IMemberSv {
    @FeignRequestMapping("/member/queryBy")
    Result<MemberBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/member/queryList")
    Result<List<MemberBO>> queryList(@RequestBody MemberBO bo);

    @FeignRequestMapping("/member/queryPage")
    Result<List<MemberBO>> queryPage(@RequestBody MemberBO bo);

    @FeignRequestMapping("/member/save")
    Result<?> save(@RequestBody MemberBO bo);
    
    @FeignRequestMapping("/member/delete")
    Result<?> delete(@RequestBody MemberBO bo);

    @FeignRequestMapping("/member/queryByLogin")
    Result<MemberBO> queryByLogin(@RequestBody MemberBO bo);

    @FeignRequestMapping("/member/register")
    Result<?> register(@RequestBody MemberBO bo);

    @FeignRequestMapping("/member/queryBrokerAccountList")
    Result<?> queryBrokerAccountList(@RequestBody String id);
}
